package com.huawei.java.model;

import java.util.*;

/**
 * 二部图
 */
public class Graph {
    private List<ClientNode> clientNodes = new ArrayList<>();

    private List<SiteNode> siteNodes = new ArrayList<>();

    private Map<SiteNode, List<ClientNode>> siteMap = new HashMap<>();

    private Map<ClientNode, List<SiteNode>> clientMap = new HashMap<>();

    private Map<String, SiteNode> siteIdMap = new HashMap<>();

    private Map<String, ClientNode> clientIdMap = new HashMap<>();

    public List<ClientNode> getClientNodes() {
        return clientNodes;
    }

    public void setClientNodes(List<ClientNode> clientNodes) {
        this.clientNodes = clientNodes;
    }

    public List<SiteNode> getSiteNodes() {
        return siteNodes;
    }

    public void setSiteNodes(List<SiteNode> siteNodes) {
        this.siteNodes = siteNodes;
    }

    public Map<SiteNode, List<ClientNode>> getSiteMap() {
        return siteMap;
    }

    public void setSiteMap(Map<SiteNode, List<ClientNode>> siteMap) {
        this.siteMap = siteMap;
    }

    public Map<ClientNode, List<SiteNode>> getClientMap() {
        return clientMap;
    }

    public void setClientMap(Map<ClientNode, List<SiteNode>> clientMap) {
        this.clientMap = clientMap;
    }

    public Map<String, SiteNode> getSiteIdMap() {
        return siteIdMap;
    }

    public void setSiteIdMap(Map<String, SiteNode> siteIdMap) {
        this.siteIdMap = siteIdMap;
    }

    public Map<String, ClientNode> getClientIdMap() {
        return clientIdMap;
    }

    public void setClientIdMap(Map<String, ClientNode> clientIdMap) {
        this.clientIdMap = clientIdMap;
    }
}